package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Employee;

import java.util.List;

public interface EmployeeService {
    ResultInfo login(String username, String password);

    List<Employee> findByName(String name);

    //保存员工
    void save(Employee employee);


    //查询员工
    Employee findById(Long id);


    //修改员工
    void update(Employee employee);
}

